#ifndef BRATSQL_H
#define BRATSQL_H

#include "tracksql.h"

//
// All money values are in cents (100 == $1, 25 == $.25, 1 == $.01)
//
// IMPORTANT:  Access to this class is NOT thread-safe.  That's handled at
//			   the next level up (with calls to lock()/unlock()).
//

class BratSQL : public TrackSQL
{
	public:
		BratSQL(const String & dsn, const String & dblogin,
			const String & dbpasswd);

		int32 game(int32 casinoId, PID, bool8 forMoney, SESSIONID,
			int32 compFactor,
			int32 numBankerCards, uint8* banker,
			int32 numPlayerCards, uint8* player,
			int32* bets, int32* payouts, int32 numBetsPayouts,
			int32 commission, int32 outcome,
			int32 balanceAdjust, int32* balance, int32* comp);

        // called to load the casino settings for Baccarat
        int32   trackGetOptions(int32 * tiePayout);
};

#endif
